spring:
  application:
    name: darshana
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    driverClassName: org.postgresql.Driver
    hikari:
      auto-commit: false
  jpa:
    generate-ddl: false
    database: POSTGRESQL
    hibernate:
      ddl-auto: validate
  flyway:
    enabled: true
    locations: classpath:db/migration
  servlet:
    multipart:
      max-file-size: 20MB
      max-request-size: 20MB

management:
  endpoints:
    web:
      exposure:
        include: '*'
  endpoint:
    flyway:
      enabled: true
  health:
    datasource:
      enabled: true

application:
  ocr-properties:
    language: rus
    page-seg-mode: 1
    engine-mode: 1
